package com.emmmya.ocs.config.quartz;

import org.quartz.Job;
import org.quartz.JobExecutionContext;
import org.quartz.JobExecutionException;

/**
 * @description:
 * @author: 咕噜肉IT小店-黑医
 * @createDate: 2021-03-01
 * @version: 1.0
 */
public class HarinQuartz implements Job {

    @Override
    public void execute(JobExecutionContext context) throws JobExecutionException {
        System.out.println("任务key:"+context.getTrigger().getJobKey());
        System.out.println("执行了定时任务。");
    }
}
